package com.nbshop.util;
import java.util.Calendar;

public class UuidUtils {
	public final static java.text.SimpleDateFormat uid1 = new java.text.SimpleDateFormat("yyyyMMdd");
	public final static java.text.SimpleDateFormat uid2 = new java.text.SimpleDateFormat("yyMMddHHmmssSS");
	public final static java.text.SimpleDateFormat uid3 = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	public final static java.text.SimpleDateFormat uid4 = new java.text.SimpleDateFormat("yyyy-MM-dd");
	public final static java.text.SimpleDateFormat uid5 = new java.text.SimpleDateFormat("HH:mm:ss");
	public final static java.text.SimpleDateFormat uid6 = new java.text.SimpleDateFormat("yyyy-MM");

	public static String getProUUID(){
	    String  uuid =uid2.format(Calendar.getInstance().getTime()).toString();
		return uuid;
	}
	
	public static String currentDateTime(){
	    String  uuid =uid3.format(Calendar.getInstance().getTime()).toString();
		return uuid;
	}
	
	public static String currentDate(){
	    String  uuid =uid4.format(Calendar.getInstance().getTime()).toString();
		return uuid;
	}
	public static String currentMonth(){
	    String  uuid =uid6.format(Calendar.getInstance().getTime()).toString();
		return uuid;
	}
}
